home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol K-12
/
Vol K-12.iso
/
games
/
extrem_t.exe
/
scripts
/
DefineButton2_234
/
BUTTONCONDACTION on(keyPress Down).as
next >
Wrap
Text File
|
2012-08-27
|
1KB
|
61 lines
on(keyPress "<Down>"){
choix++;
sonMC.gotoAndPlay(3);
if(choix == 1)
{
basterix.gotoAndStop(1);
bmsrg.gotoAndStop(1);
basrctrx.gotoAndStop(1);
bobelix.gotoAndPlay(2);
masterix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
mobelix.gotoAndPlay(2);
}
if(choix == 2)
{
bobelix.gotoAndStop(1);
bmsrg.gotoAndStop(1);
basrctrx.gotoAndStop(1);
basterix.gotoAndPlay(2);
mobelix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
masterix.gotoAndPlay(2);
}
if(choix == 3)
{
bobelix.gotoAndStop(1);
basterix.gotoAndStop(1);
basrctrx.gotoAndStop(1);
bmsrg.gotoAndPlay(2);
mobelix.gotoAndStop(1);
masterix.gotoAndStop(1);
masrctrx.gotoAndStop(1);
mmsrg.gotoAndPlay(2);
}
if(choix == 4)
{
bobelix.gotoAndStop(1);
basterix.gotoAndStop(1);
bmsrg.gotoAndStop(1);
basrctrx.gotoAndPlay(2);
mobelix.gotoAndStop(1);
masterix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
masrctrx.gotoAndPlay(2);
}
if(choix == 5)
{
choix = 1;
basterix.gotoAndStop(1);
bmsrg.gotoAndStop(1);
basrctrx.gotoAndStop(1);
bobelix.gotoAndPlay(2);
masterix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
mobelix.gotoAndPlay(2);
}
}